import request from '@/utils/request.js'
// 获取轮播图
export const getBanner=(distributionSite)=>{
  return request.get('/home/banner',{params:{distributionSite}})
}

// 获取新鲜好物
export const getNewList=()=>{
  return request.get('/home/new',{params:{limit:4}})
}

// 人气推荐
export const getHotList=()=>{
  return request.get('/home/hot')
}

// 热门商品
export const getGoods=()=>{
  return request.get('/home/goods')
}
